const util = require('../../../../../../../utils/util.js');
const api = require('../../../../../../../config/api.js');
const app = getApp();
Page({
  data: {
    circleid: ''
  },
  onLoad: function (options) {
    var _this = this;
    var circleid = options.circleid;
    _this.setData({
      circleid: circleid
    })
    console.log(circleid)
  },
  //设置打卡时间段及圈子期限
  gopunchtime:function(){
    var _this = this;
    var circleid = _this.data.circleid;
    wx.navigateTo({
      url: '../foundationsetup/punchtime/punchtime?circleid=' + circleid
    })
  },
  //圈子隐私及报名进圈审核设置
  gocirclePrivacy: function () {
    var _this = this;
    var circleid = _this.data.circleid;
    wx.navigateTo({
      url: '../foundationsetup/circlePrivacy/circlePrivacy?circleid=' + circleid
    })
  },
  //圈子互动规则
  gomendAndsetLength: function () {
    var _this = this;
    var circleid = _this.data.circleid;
    wx.navigateTo({
      url: '../foundationsetup/mendAndsetLength/mendAndsetLength?circleid=' + circleid
    })
  },
  //进入圈子设置页面
  navigateToCircleopt: function () {
    var _this = this;
    var circleid = _this.data.circleid;
    wx.navigateTo({
      url: '../../circleopt/circleopt?circleid=' + circleid,
    })
  },
  //跳转到编辑页面
  navigateToEditdetails: function () {
    var _this = this;
    var circleid = _this.data.circleid;
    wx.navigateTo({
      url: '../../../editdetails/editdetails?circleid=' + circleid + "&energyInfoResults=false"
    })
  },
})